package main

import (
	"fmt"
	"io/ioutil"
)

func main() {
	file := "D:/study/goproject/src/go-code/test.txt"
	content, err := ioutil.ReadFile(file)

	if err != nil {
		fmt.Printf("read file err=%v", err)
	}

	fmt.Printf("%v", string(content))
}
